package cn.shuangze.assetsms.dao;

import cn.shuangze.assetsms.entity.AssetsInfo;

public interface AssetsInfoDao {

    int add(AssetsInfo assetsInfo) throws Exception;

    int delete(int id) throws Exception;

    int modify(AssetsInfo assetsInfo) throws Exception;

    int modifyStatus(int id, String status) throws Exception;

    String[][] findAll() throws Exception;

    String[][] findAvailable() throws Exception;

    String[][] findUsing() throws Exception;

    String[][] findUsable() throws Exception;

    String[][] findByCondition(AssetsInfo assetsInfo) throws Exception;
}
